package com.longxi.tianjintianbao.greedao.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.ToMany;

import java.util.List;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.DaoException;
import com.longxi.tianjintianbao.greedao.dao.DaoSession;
import com.longxi.tianjintianbao.greedao.dao.InventoryChildDao;
import com.longxi.tianjintianbao.greedao.dao.InventoryDao;

/**
 * Created by cxw on & 2018/12/13
 */
@Entity
public class Inventory {
    @Id(autoincrement = true)
    public Long id;
    public String number;
    public String isupload;//是否上传图片
    public String state;
//    @ToMany(referencedJoinProperty = "iid")
//    public List<InventoryChild> inventorychild;//巡检项目
    @Generated(hash = 141798438)
    public Inventory(Long id, String number, String isupload, String state) {
        this.id = id;
        this.number = number;
        this.isupload = isupload;
        this.state = state;
    }
    @Generated(hash = 375708430)
    public Inventory() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getNumber() {
        return this.number;
    }
    public void setNumber(String number) {
        this.number = number;
    }
    public String getIsupload() {
        return this.isupload;
    }
    public void setIsupload(String isupload) {
        this.isupload = isupload;
    }
    public String getState() {
        return this.state;
    }
    public void setState(String state) {
        this.state = state;
    }
}
